package com.ldc.message.server

import com.ldc.commonlibs.common.RspModel
import com.ldc.commonlibs.common.RspPagingModel
import com.ldc.message.model.MessageModel
import retrofit2.http.GET
import retrofit2.http.Path

interface MessageServer {

    // 已读列表
    @GET(value = "/message/lg/readed_list/{p}/json")
    suspend fun readedList(@Path(value = "p") p: Int = 0): RspModel<RspPagingModel<MessageModel>>

    // 未读列表
    @GET(value = "message/lg/unread_list/{p}/json")
    suspend fun unReadedList(@Path(value = "p") p: Int = 0): RspModel<RspPagingModel<MessageModel>>
}